package com.github.androiddevelopmentframework.record.recordInterface;

import com.github.androiddevelopmentframework.record.bean.OrderRecordBean;
import com.github.freewu.mvp.bean.ServerListBean;
import com.github.freewu.mvp.mvpInterface.MvpInterface;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;


/**
 * Created by free on 16-8-2.
 */
public interface RecordInterface extends MvpInterface {
    interface ApiServer{
        @Headers("cache:5")
        @GET("service/libaryReserve!getMyReserveList")
        Call<ServerListBean<OrderRecordBean>> getRecord(@Query("usercode") String usercode, @Query("page") int page, @Query("pageSize") int pageSize);
    }
    interface ViewInterface extends MvpInterface.ViewInterface {

    }
}
